﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Ad_TheTinDungUC.ascx.cs" Inherits="GUI.Admin.uc.Ad_TheTinDungUC" %>
<%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!--Panel danh sách các thẻ tín dụng -->
<style type="text/css">
    .style1
    {
        width: 60%;
    }
    .style2
    {
        color: Blue;
        font-size: 25px;
        margin-left: 50px;
    }
    
    .style3
    {
        color: Red;
        font-weight: bold;
    }
    
    .style4
    {
        color: #FF0000;
    }
    .style5
    {
        width: 47%;
    }
    
    .style6
    {
        width: 201px;
    }
    .style7
    {
        width: auto;
    }
    
    .style8
    {
        color: #FF0000;
        margin-top: 100px;
        margin-left: 100px;
    }
    .style9
    {
        width: 535px;
        text-align: right;
        color: Red;
    }
    
    .tb_left
    {
        width: 15%;
    }
    
    .tb_center
    {
        width: 10%;
    }
    
    .tb_right
    {
        width: 75%;
    }
</style>
<asp:Panel ID="PanelDanhSachTheTinDung" runat="server">
    <table style="width: 100%; border: 1px solid #008000;">
        <tr>
            <td class="style1">
                <asp:ImageButton ID="ImageButtonTroLai" runat="server" ImageUrl="~/Admin/images/back_f2.png"
                    OnClick="ImageButtonTroLai_Click" ToolTip="Trở lại" />
                &nbsp; <span class="style2">Danh sách thẻ tín dụng </span>
            </td>
            <td class="style5">
                <span class="style4">Tổng số thẻ tín dụng : </span>&nbsp;
                <asp:Label ID="LabelTongSoTheTinDung" runat="server" Text="" CssClass="style3">
                </asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Label ID="LabelThongBao" CssClass="style8" runat="server" Visible="False"></asp:Label>
                <asp:GridView ID="GridViewTheTinDung" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                    CellPadding="4" ForeColor="#333333" Width="100%"
                    OnPageIndexChanging="GridViewTheTinDung_PageIndexChanging" 
                    OnRowDataBound="GridViewTheTinDung_RowDataBound">
                    <RowStyle BackColor="#EFF3FB" />
                    <Columns>
                        <asp:TemplateField HeaderText="ID">
                            <ItemTemplate>
                                <asp:Label ID="LabelMaTheTinDung" runat="server" Text='<%# Eval("MaTheTinDung") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle Width="50px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Khách hàng">
                            <ItemTemplate>
                                <asp:Label ID="LabelMaKhachHang" runat="server" Text='<%# Eval("MaKhachHang") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle Width="350px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Số thẻ">
                            <ItemTemplate>
                                <asp:Label ID="LabelSoThe" runat="server" Text='<%# Eval("SoThe") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle Width="250px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Mô tả">
                            <ItemTemplate>
                                <asp:Label ID="LabelMoTa" runat="server" Text='<%# Eval("MoTa") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#2461BF" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Panel>
